.class Lcom/instagram/android/fragment/dx;
.super Lcom/instagram/android/fragment/p;
.source "MainFeedFragment.java"


# annotations
.annotation system Ldalvik/annotation/Signature;
    value = {
        "Lcom/instagram/android/fragment/d",
        "<",
        "Lcom/instagram/android/feed/a/m;",
        ">.com/instagram/android/fragment/p;"
    }
.end annotation


# instance fields
.field final synthetic b:Lcom/instagram/android/fragment/dw;


# direct methods
.method constructor <init>(Lcom/instagram/android/fragment/dw;)V
    .locals 0
    .parameter

    .prologue
    .line 135
    iput-object p1, p0, Lcom/instagram/android/fragment/dx;->b:Lcom/instagram/android/fragment/dw;

    invoke-direct {p0, p1}, Lcom/instagram/android/fragment/p;-><init>(Lcom/instagram/android/fragment/d;)V

    return-void
.end method


# virtual methods
.method public a(Landroid/view/LayoutInflater;Landroid/view/ViewGroup;)Landroid/view/View;
    .locals 3
    .parameter
    .parameter

    .prologue
    .line 144
    sget v0, Lcom/facebook/ax;->action_bar_logo:I

    const/4 v1, 0x0

    invoke-virtual {p1, v0, p2, v1}, Landroid/view/LayoutInflater;->inflate(ILandroid/view/ViewGroup;Z)Landroid/view/View;

    move-result-object v0

    .line 146
    iget-object v1, p0, Lcom/instagram/android/fragment/dx;->b:Lcom/instagram/android/fragment/dw;

    sget v2, Lcom/facebook/aw;->action_bar_inbox_icon_with_badge:I

    invoke-virtual {v0, v2}, Landroid/view/View;->findViewById(I)Landroid/view/View;

    move-result-object v2

    invoke-static {v1, v2}, Lcom/instagram/android/fragment/dw;->a(Lcom/instagram/android/fragment/dw;Landroid/view/View;)Landroid/view/View;

    .line 147
    iget-object v1, p0, Lcom/instagram/android/fragment/dx;->b:Lcom/instagram/android/fragment/dw;

    invoke-static {v1}, Lcom/instagram/android/fragment/dw;->a(Lcom/instagram/android/fragment/dw;)Landroid/view/View;

    move-result-object v1

    new-instance v2, Lcom/instagram/android/fragment/dy;

    invoke-direct {v2, p0}, Lcom/instagram/android/fragment/dy;-><init>(Lcom/instagram/android/fragment/dx;)V

    invoke-virtual {v1, v2}, Landroid/view/View;->setOnClickListener(Landroid/view/View$OnClickListener;)V

    .line 154
    invoke-static {}, Lcom/instagram/android/directshare/j/c;->a()Z

    move-result v1

    if-nez v1, :cond_1

    iget-object v1, p0, Lcom/instagram/android/fragment/dx;->b:Lcom/instagram/android/fragment/dw;

    invoke-static {v1}, Lcom/instagram/android/fragment/dw;->b(Lcom/instagram/android/fragment/dw;)Lcom/instagram/android/directshare/f/a;

    move-result-object v1

    if-eqz v1, :cond_0

    iget-object v1, p0, Lcom/instagram/android/fragment/dx;->b:Lcom/instagram/android/fragment/dw;

    invoke-static {v1}, Lcom/instagram/android/fragment/dw;->b(Lcom/instagram/android/fragment/dw;)Lcom/instagram/android/directshare/f/a;

    move-result-object v1

    invoke-virtual {v1}, Lcom/instagram/android/directshare/f/a;->a()Z

    move-result v1

    if-nez v1, :cond_1

    .line 157
    :cond_0
    iget-object v1, p0, Lcom/instagram/android/fragment/dx;->b:Lcom/instagram/android/fragment/dw;

    invoke-static {v1}, Lcom/instagram/android/fragment/dw;->a(Lcom/instagram/android/fragment/dw;)Landroid/view/View;

    move-result-object v1

    invoke-static {v1}, Lcom/instagram/android/directshare/j/c;->a(Landroid/view/View;)V

    .line 160
    :cond_1
    return-object v0
.end method

.method public d()Z
    .locals 1

    .prologue
    .line 139
    iget-object v0, p0, Lcom/instagram/android/fragment/dx;->b:Lcom/instagram/android/fragment/dw;

    invoke-virtual {v0}, Lcom/instagram/android/fragment/dw;->e()Z

    move-result v0

    return v0
.end method
